<?php
/**
 * @package    Joomla.Tutorials
 * @subpackage Components
 * @link http://docs.joomla.org/Developing_a_Model-View-Controller_Component_-_Part_2
 * @license    GNU/GPL
 */

// No direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

jimport( 'joomla.application.component.view');

/**
 * HTML View class for the HelloWorld Component
 *
 * @package    HelloWorld
 */

class CatlistViewCatlist extends JView
{
    function display($tpl = null)
    {
        $model =& $this->getModel();
        $sections =& $model->getSections();
        $categori =& $model->getCategories();

        $this->assignRef( 'sections',	$sections );
        $this->assignRef( 'categories', $categori );

        parent::display($tpl);
    }
}